package org.nepu.scr.domain.keyindicators;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nepu.scr.domain.keyindicators.converter.PressureTestConverter;
import org.nepu.scr.domain.keyindicators.vo.PressureTest;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
@ApiModel(value = "防喷器和管汇试压参数表参数")
public class PressureTestParams {

    @ApiModelProperty("万能防喷器")
    @Convert(converter = PressureTestConverter.class)
    @Column(name = "universal_sprayer")
    PressureTest universalSprayer;

    @ApiModelProperty("上/下闸板防喷器")
    @Convert(converter = PressureTestConverter.class)
    @Column(name = "upper_lower_sprayer")
    PressureTest upperLowerSprayer;

    @ApiModelProperty("剪切防喷器")
    @Convert(converter = PressureTestConverter.class)
    @Column(name = "cut_sprayer")
    PressureTest cutSprayer;

    @ApiModelProperty("钻井四通")
    @Convert(converter = PressureTestConverter.class)
    @Column(name = "digging_four_ways")
    PressureTest diggingFourWays;

    @ApiModelProperty("阻流管汇")
    @Convert(converter = PressureTestConverter.class)
    @Column(name = "flow_through_valve")
    PressureTest flowThroughValve;

    @ApiModelProperty("压井管汇")
    @Convert(converter = PressureTestConverter.class)
    @Column(name = "pressure_valve")
    PressureTest pressureValve;

}
